Optimal. Leaf size=17 \[ -\frac{\tan (e+f x) \sec (e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.015395, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053, Rules used = {4043} \[ -\frac{\tan (e+f x) \sec (e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4043
Rubi steps
\begin{align*} \int \sec (e+f x) \left (1-2 \sec ^2(e+f x)\right ) \, dx &=-\frac{\sec (e+f x) \tan (e+f x)}{f}\\ \end{align*}
Mathematica [A] time = 0.0127411, size = 17, normalized size = 1. \[ -\frac{\tan (e+f x) \sec (e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.025, size = 18, normalized size = 1.1 \begin{align*} -{\frac{\sec \left ( fx+e \right ) \tan \left ( fx+e \right ) }{f}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.92257, size = 30, normalized size = 1.76 \begin{align*} \frac{\sin \left (f x + e\right )}{{\left (\sin \left (f x + e\right )^{2} - 1\right )} f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.445573, size = 46, normalized size = 2.71 \begin{align*} -\frac{\sin \left (f x + e\right )}{f \cos \left (f x + e\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int - \sec{\left (e + f x \right )}\, dx - \int 2 \sec ^{3}{\left (e + f x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1536, size = 35, normalized size = 2.06 \begin{align*} -\frac{1}{f{\left (\frac{1}{\sin \left (f x + e\right )} - \sin \left (f x + e\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]